package create.builder.demo;

import create.builder.demo.food.ChickenBurger;
import create.builder.demo.food.HotDrink;
import create.builder.demo.meal.Meal;
import create.builder.demo.meal.MealBuilder;

/**
 * @AUTHOR LYF
 * @DATE 2022/3/17
 * @VERSION 1.0
 * @DESC
 */
public class Main {
    public static void main(String[] args) {
        MealBuilder mealBuilder = new MealBuilder();

        Meal meal = mealBuilder
                   .drink(new HotDrink())
                   .burger(new ChickenBurger())
                   .build();
        meal.showItems();

    }
}
